package thread.zjitc.net.lib.thread;

/**
 * @author 朱志文
 * @data 2019/11/16 0016
 */
public class MyThread extends Thread{
    private int num;

    public MyThread(int num) {
        this.num = num;
    }

    @Override
    public void run() {
        super.run();
        System.out.println("运行线程No:"+num);
        try {
            Thread.sleep(3);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("结束线程NO:"+num);
    }
}
